package main

import "fmt"

type Action interface {
	run()
}

type Car struct {

}

type Bike struct {

}

func (Car)run()  {
	fmt.Println("I'm a car")
}

func (Bike)run()  {
	fmt.Println("I'm a bike")
}

func main() {
	 var action Action
	 action= new(Car)
	 action.run()
	 action=Bike{}
	 action.run()
}
